<toptitle toptitletext='购物清单'></toptitle>
<div id="loadingPicBlock" ng-hide="isdata">
    <div class="wrapper">
        <div class="g-Cart-list marginB" style="padding-top:38px;">

            <div class="shopcarnamelist animage-leave" ng-repeat="t in data.cart_list" shopcar-repeat-finish>
                <div class="shopname" data-isclick="false"><i class="fl selectiocn-no"></i><span class="fl shopname-name">{{t.shop.name}}</span><div class="clear"></div></div>
                <ul>
                    <li class="unitary_cart animage-leave" data-liclick={{liclick}} data-id="{{x.id}}" data-price="{{x.count * data.unitary[x.id].item_price}}" ng-hide="shopcarishide" style="position:relative;" ng-repeat="x in t.list track by $index">
                        <i class="fl selectpos selectiocn-no" ng-click="childclick()"></i>
                        <a class="fl u-Cart-img" href="#/main/{{data.unitary[x.id].id}}">
                            <img src="{{data.unitary[x.id].logopic}}" border="0" alt="">
                        </a>
                        <div class="u-Cart-r">
                            <a href="#/main/{{data.unitary[x.id].id}}">
                                <div class="gray6 u-Cart-ft">
                                    <div class="fl graydelname">{{data.unitary[x.id].name}}</div>
                                    <div class="fr orange orangeprice graynodelname" data-count="{{data.unitary[x.id].item_price}}">{{ data.unitary[x.id].item_price | currency : "￥"}}</div>
                                    <div class="clear"></div>
                                </div>
                                <div class="gray9" style="position:relative;">
                                    <span style="position:absolute;left: 0;">剩余<em>{{data.ycount[x.id]}}</em>人次</span>
                                </div>
                            </a>
                            <br>
                            <div class="">
                                <div class="fl shopcarbtn shopcarbtn-right" ng-click="renum(data.ycount[x.id],data.unitary[x.id].item_price, $index)">-</div>
                                <input name="" maxlength="7" ng-model="x.count" type="text" ng-blur="shopcarnumblur(data.ycount[x.id],x.count, $index)" class="gray6 cart_count fl" value="1"/>
                                <div class="fl shopcarbtn shopcarbtn-left" ng-click="addnum(data.ycount[x.id], data.unitary[x.id].item_price)">+</div>
                                <div class="clear"></div>
                            </div>
                            <a class="z-del" ng-click="delshop(x.id, $index)"><s></s></a>
                        </div>
                        <div class="cerror">
                            <div class="Prompt"></div>
                        </div>
                    </li>
                </ul>
            </div>

            <div class="load_more" ng-show="isloadmore">
                正在加载中...
            </div>
        </div>
        <div id="mycartpay" class="g-Total-bt" style="bottom: 0">
            <dl>
                <dt class="gray6"><span>共选择<em class="orange" id="sum">{{allshoplistnum}}</em>个商品</span>合计<span class="orange" id="total">{{allprice | currency : "￥"}}</span>元</dt>
                <dd><div ng-click="tobuy()" class="orangeBtn w_account">去结算</div></dd>
            </dl>
        </div>
    </div>
</div>
<div ng-show="isdata" class="shoplistnone">
    <img src="images/none.png" alt=""><br>
    快去夺宝吧~
    <p>购物车里没有东西啦</p>
</div>


<dialog isdialogshow="isdialogshow" dialogtext="{{dialogtext}}"></dialog>
<loading loadisshow="ctrlisloadshow"></loading>
<confirm confirmtext="是否删除商品？" isconfirmshow="isconfirmshow" confirmok="delshopconfirmok()"></confirm>
